#include "resourcemanagerxml.h"
#include <QFile>
#include <QtXml>
#include <bookmarkmanagerxml.h>
#include <mangamanagerxml.h>

ResourceManagerXml::ResourceManagerXml()
{

}

ResourceManagerXml* ResourceManagerXml::getMangaInstance()
{
    static MangaManagerXml inst;
    return (ResourceManagerXml*) &inst;
}
ResourceManagerXml* ResourceManagerXml::getBookmarkInstance()
{
    static BookmarkManagerXml inst;
    return (ResourceManagerXml*) &inst;
}
int ResourceManagerXml::getNextId()
{
    return ++m_nextId;
}
